<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

	<bean id="UserService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.UserService">
				<property name="baseDAO" ref="UserDAO" />	
				<property name="userResourceDAO" ref="UserResourceDAO" />					
			</bean>
		</property>
	</bean>
	<bean id="RoleService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.RoleService">
				<property name="baseDAO" ref="RoleDAO" />			
				<property name="roleDAO" ref="RoleDAO" />		
			</bean>
		</property>
	</bean>
	<bean id="ResourceService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.ResourceService">
				<property name="baseDAO" ref="ResourceDAO" />					
			</bean>
		</property>
	</bean>
	<bean id="RoleRelaResourceService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.RoleRelaResourceService">
				<property name="baseDAO" ref="RoleRelaResourceDAO" />					
			</bean>
		</property>
	</bean>
	<bean id="RoleRelaUserService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.RoleRelaUserService">
				<property name="baseDAO" ref="RoleRelaUserDAO" />					
			</bean>
		</property>
	</bean>
	<bean id="UserResourceService" parent="baseTransactionProxy">
		<property name="proxyTargetClass" value="true" />
		<property name="target">
			<bean class="cn.ffcs.security.service.UserResourceService">
				<property name="baseDAO" ref="UserResourceDAO" />					
			</bean>
		</property>
	</bean>
	
</beans>